//
//  JYInputEmoticomParser.h
//  TestNIMSDK
//
//  Created by jianyong.wang on 2017/6/2.
//  Copyright © 2017年 jianyong.wang. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef enum : NSUInteger{
    JYInputTokenTypeText,
    JYInputTokenTypeEmoticon,
} JYInputTokenType;
@interface JYInputTextToken : NSObject
@property (nonatomic,copy)      NSString    *text;
@property (nonatomic,assign)    JYInputTokenType   type;
@end
@interface JYInputEmoticomParser : NSObject
+(instancetype)currentParaser;

/**
 判断文本中哪些是文字哪些是图片

 @param text 文本
 @return 
 */
-(NSArray *)tokens:(NSString *)text;
@end
